import React, {useState} from 'react'

export default function UseState() {
  const [count, setCount] = useState(0)
  return (<>
    <p>you're clicked {count} times</p>
    <button onClick={() => setCount(count + 1)}>click me</button>
  </>)
}
